package com.study.a17qianghonbao;

public class ThreadDemo {
    public static void main(String[] args) {
        MyThread mt1=new MyThread();
        MyThread mt2=new MyThread();
        MyThread mt3=new MyThread();
        MyThread mt4=new MyThread();
        MyThread mt5=new MyThread();

        mt1.setName("张三");
        mt2.setName("李四");
        mt3.setName("王五");
        mt4.setName("赵六");
        mt5.setName("钱七");

        mt1.start();
        mt2.start();
        mt3.start();
        mt4.start();
        mt5.start();
    }
}
